import WorkDetail from '@/pages/pc/components/WorkDetail';
import styles from './index.less';
import { useHistory } from 'umi';
const Index = () => {
  const { location } = useHistory();
  const pathname = location.pathname;
  const arr = pathname.split('/');
  console.log(history, '222');
  return (
    <div className={styles.detail}>
      <WorkDetail ids={[]} currentId={arr[arr.length - 1]} />
    </div>
  );
};

export default Index;
